package org.csc.sss.datacore.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.csc.sss.datacore.constant.RegexpConstant;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.Pattern;
import java.util.Map;

/**
 * 银行卡四要素认证信息
 * @author tanquan
 *
 */
@ApiModel(value ="短信发送")
public class SmsDTO {
    

    @ApiModelProperty("手机号")
    @NotNull(message="手机号不能为空")
    @Pattern(regexp= RegexpConstant.PHONE_REGEX, message="手机号格式不正确")
    private String phoneNo;
    
    @ApiModelProperty("模板ID")
    @NotNull(message="模板ID不能为空")
    private String tplId;
    
    @ApiModelProperty("模板参数")
    @NotNull(message="模板参数不能为空")
    private Map<String, String> tplParams;

	public String getPhoneNo() {
		return phoneNo;
	}

	public void setPhoneNo(String phoneNo) {
		this.phoneNo = phoneNo;
	}

	public String getTplId() {
		return tplId;
	}

	public void setTplId(String tplId) {
		this.tplId = tplId;
	}

	public Map<String, String> getTplParams() {
		return tplParams;
	}

	public void setTplParams(Map<String, String> tplParams) {
		this.tplParams = tplParams;
	}
    
    
    
}
